<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GrPPI: grppi::parallel_execution_tbb Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">0.3.1</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegrppi.html">grppi</a></li><li class="navelem"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html">parallel_execution_tbb</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgrppi_1_1parallel__execution__tbb-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">grppi::parallel_execution_tbb Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>TBB parallel execution policy.  
 <a href="classgrppi_1_1parallel__execution__tbb.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="parallel__execution__tbb_8h_source.html">parallel_execution_tbb.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2bafc840996ea0edf704ee9a4ec11fdb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a2bafc840996ea0edf704ee9a4ec11fdb">parallel_execution_tbb</a> () noexcept</td></tr>
<tr class="memdesc:a2bafc840996ea0edf704ee9a4ec11fdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default construct a TBB parallel execution policy.  <a href="#a2bafc840996ea0edf704ee9a4ec11fdb">More...</a><br /></td></tr>
<tr class="separator:a2bafc840996ea0edf704ee9a4ec11fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42cd24e4cdc65f841211797f3bc7301c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a42cd24e4cdc65f841211797f3bc7301c">parallel_execution_tbb</a> (int <a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a4658679d34e759c78eed069d60aa8f8b">concurrency_degree</a>, bool order=true) noexcept</td></tr>
<tr class="memdesc:a42cd24e4cdc65f841211797f3bc7301c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a TBB parallel execution policy.  <a href="#a42cd24e4cdc65f841211797f3bc7301c">More...</a><br /></td></tr>
<tr class="separator:a42cd24e4cdc65f841211797f3bc7301c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80af61d77c7b697d90c17c203ace3ec1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a80af61d77c7b697d90c17c203ace3ec1">set_concurrency_degree</a> (int degree) noexcept</td></tr>
<tr class="memdesc:a80af61d77c7b697d90c17c203ace3ec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set number of grppi threads.  <a href="#a80af61d77c7b697d90c17c203ace3ec1">More...</a><br /></td></tr>
<tr class="separator:a80af61d77c7b697d90c17c203ace3ec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4658679d34e759c78eed069d60aa8f8b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a4658679d34e759c78eed069d60aa8f8b">concurrency_degree</a> () const noexcept</td></tr>
<tr class="memdesc:a4658679d34e759c78eed069d60aa8f8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get number of grppi trheads.  <a href="#a4658679d34e759c78eed069d60aa8f8b">More...</a><br /></td></tr>
<tr class="separator:a4658679d34e759c78eed069d60aa8f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a584023faab673f9b7e17cec70a41372c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a584023faab673f9b7e17cec70a41372c">enable_ordering</a> () noexcept</td></tr>
<tr class="memdesc:a584023faab673f9b7e17cec70a41372c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable ordering.  <a href="#a584023faab673f9b7e17cec70a41372c">More...</a><br /></td></tr>
<tr class="separator:a584023faab673f9b7e17cec70a41372c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b7d56625a7adbcade53a2f4e6052cda"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a3b7d56625a7adbcade53a2f4e6052cda">disable_ordering</a> () noexcept</td></tr>
<tr class="memdesc:a3b7d56625a7adbcade53a2f4e6052cda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable ordering.  <a href="#a3b7d56625a7adbcade53a2f4e6052cda">More...</a><br /></td></tr>
<tr class="separator:a3b7d56625a7adbcade53a2f4e6052cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2e2457967b39b6514032a1f3684dfca"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#ac2e2457967b39b6514032a1f3684dfca">is_ordered</a> () const noexcept</td></tr>
<tr class="memdesc:ac2e2457967b39b6514032a1f3684dfca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is execution ordered.  <a href="#ac2e2457967b39b6514032a1f3684dfca">More...</a><br /></td></tr>
<tr class="separator:ac2e2457967b39b6514032a1f3684dfca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5306d4350ef41f22215375679f72ca6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#af5306d4350ef41f22215375679f72ca6">set_queue_attributes</a> (int size, <a class="el" href="namespacegrppi.html#aa0514650a765d4853343655e7588662b">queue_mode</a> mode, int <a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a8f404ff1f3f511dbbd3b9d92a835c63b">tokens</a>) noexcept</td></tr>
<tr class="memdesc:af5306d4350ef41f22215375679f72ca6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the attributes for the queues built through <a class="el" href="classgrppi_1_1parallel__execution__tbb.html#aa06e47a8d52617c761600c0e97db5055" title="Makes a communication queue for elements of type T. Constructs a queue using the attributes that can ...">make_queue&lt;T&gt;()</a>  <a href="#af5306d4350ef41f22215375679f72ca6">More...</a><br /></td></tr>
<tr class="separator:af5306d4350ef41f22215375679f72ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa06e47a8d52617c761600c0e97db5055"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aa06e47a8d52617c761600c0e97db5055"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#aa06e47a8d52617c761600c0e97db5055">make_queue</a> () const </td></tr>
<tr class="memdesc:aa06e47a8d52617c761600c0e97db5055"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a communication queue for elements of type T. Constructs a queue using the attributes that can be set via <a class="el" href="classgrppi_1_1parallel__execution__tbb.html#af5306d4350ef41f22215375679f72ca6" title="Sets the attributes for the queues built through make_queue&lt;T&gt;() ">set_queue_attributes()</a>. The value is returned via move semantics.  <a href="#aa06e47a8d52617c761600c0e97db5055">More...</a><br /></td></tr>
<tr class="separator:aa06e47a8d52617c761600c0e97db5055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f404ff1f3f511dbbd3b9d92a835c63b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a8f404ff1f3f511dbbd3b9d92a835c63b">tokens</a> () const noexcept</td></tr>
<tr class="separator:a8f404ff1f3f511dbbd3b9d92a835c63b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218c2f8349d86349a2189be85fe0ff8a"><td class="memTemplParams" colspan="2">template&lt;typename... InputIterators, typename OutputIterator , typename Transformer &gt; </td></tr>
<tr class="memitem:a218c2f8349d86349a2189be85fe0ff8a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a218c2f8349d86349a2189be85fe0ff8a">map</a> (std::tuple&lt; InputIterators... &gt; firsts, OutputIterator first_out, std::size_t sequence_size, Transformer transform_op) const </td></tr>
<tr class="memdesc:a218c2f8349d86349a2189be85fe0ff8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a trasnformation to multiple sequences leaving the result in another sequence using available TBB parallelism.  <a href="#a218c2f8349d86349a2189be85fe0ff8a">More...</a><br /></td></tr>
<tr class="separator:a218c2f8349d86349a2189be85fe0ff8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada3a6ccfbc59ff6d0b8c8ac1482d2bdc"><td class="memTemplParams" colspan="2">template&lt;typename InputIterator , typename Identity , typename Combiner &gt; </td></tr>
<tr class="memitem:ada3a6ccfbc59ff6d0b8c8ac1482d2bdc"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#ada3a6ccfbc59ff6d0b8c8ac1482d2bdc">reduce</a> (InputIterator first, std::size_t sequence_size, Identity &amp;&amp;identity, Combiner &amp;&amp;combine_op) const </td></tr>
<tr class="memdesc:ada3a6ccfbc59ff6d0b8c8ac1482d2bdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a reduction to a sequence of data items.  <a href="#ada3a6ccfbc59ff6d0b8c8ac1482d2bdc">More...</a><br /></td></tr>
<tr class="separator:ada3a6ccfbc59ff6d0b8c8ac1482d2bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b8825810902cd26927822dcff2aed49"><td class="memTemplParams" colspan="2">template&lt;typename... InputIterators, typename Identity , typename Transformer , typename Combiner &gt; </td></tr>
<tr class="memitem:a0b8825810902cd26927822dcff2aed49"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a0b8825810902cd26927822dcff2aed49">map_reduce</a> (std::tuple&lt; InputIterators... &gt; firsts, std::size_t sequence_size, Identity &amp;&amp;identity, Transformer &amp;&amp;transform_op, Combiner &amp;&amp;combine_op) const </td></tr>
<tr class="memdesc:a0b8825810902cd26927822dcff2aed49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a map/reduce operation to a sequence of data items.  <a href="#a0b8825810902cd26927822dcff2aed49">More...</a><br /></td></tr>
<tr class="separator:a0b8825810902cd26927822dcff2aed49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc48fec10970cf43ccf81cc7a232d577"><td class="memTemplParams" colspan="2">template&lt;typename... InputIterators, typename OutputIterator , typename StencilTransformer , typename Neighbourhood &gt; </td></tr>
<tr class="memitem:afc48fec10970cf43ccf81cc7a232d577"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#afc48fec10970cf43ccf81cc7a232d577">stencil</a> (std::tuple&lt; InputIterators... &gt; firsts, OutputIterator first_out, std::size_t sequence_size, StencilTransformer &amp;&amp;transform_op, Neighbourhood &amp;&amp;neighbour_op) const </td></tr>
<tr class="memdesc:afc48fec10970cf43ccf81cc7a232d577"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a trasnformation to multiple sequences leaving the result in another sequence.  <a href="#afc48fec10970cf43ccf81cc7a232d577">More...</a><br /></td></tr>
<tr class="separator:afc48fec10970cf43ccf81cc7a232d577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdf53132d36c84d3744826c84cc5a454"><td class="memTemplParams" colspan="2">template&lt;typename Input , typename Divider , typename Solver , typename Combiner &gt; </td></tr>
<tr class="memitem:abdf53132d36c84d3744826c84cc5a454"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#abdf53132d36c84d3744826c84cc5a454">divide_conquer</a> (Input &amp;&amp;input, Divider &amp;&amp;divide_op, Solver &amp;&amp;solve_op, Combiner &amp;&amp;combine_op) const </td></tr>
<tr class="memdesc:abdf53132d36c84d3744826c84cc5a454"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_divide-conquer.html">Divide/conquer pattern</a>.  <a href="#abdf53132d36c84d3744826c84cc5a454">More...</a><br /></td></tr>
<tr class="separator:abdf53132d36c84d3744826c84cc5a454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff612d68d6de326896b4b3b7f17275df"><td class="memTemplParams" colspan="2">template&lt;typename Input , typename Divider , typename Predicate , typename Solver , typename Combiner &gt; </td></tr>
<tr class="memitem:aff612d68d6de326896b4b3b7f17275df"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#aff612d68d6de326896b4b3b7f17275df">divide_conquer</a> (Input &amp;&amp;input, Divider &amp;&amp;divide_op, Predicate &amp;&amp;predicate_op, Solver &amp;&amp;solve_op, Combiner &amp;&amp;combine_op) const </td></tr>
<tr class="memdesc:aff612d68d6de326896b4b3b7f17275df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_divide-conquer.html">Divide/conquer pattern</a>.  <a href="#aff612d68d6de326896b4b3b7f17275df">More...</a><br /></td></tr>
<tr class="separator:aff612d68d6de326896b4b3b7f17275df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bc27958f8f59e282f991704e308c8aa"><td class="memTemplParams" colspan="2">template&lt;typename Generator , typename... Transformers&gt; </td></tr>
<tr class="memitem:a5bc27958f8f59e282f991704e308c8aa"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a5bc27958f8f59e282f991704e308c8aa">pipeline</a> (Generator &amp;&amp;generate_op, Transformers &amp;&amp;...transform_op) const </td></tr>
<tr class="memdesc:a5bc27958f8f59e282f991704e308c8aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_pipeline.html">Pipeline pattern</a>.  <a href="#a5bc27958f8f59e282f991704e308c8aa">More...</a><br /></td></tr>
<tr class="separator:a5bc27958f8f59e282f991704e308c8aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cf84926d8770fdd828998872d76cedb"><td class="memTemplParams" colspan="2">template&lt;typename InputType , typename Transformer , typename OutputType &gt; </td></tr>
<tr class="memitem:a1cf84926d8770fdd828998872d76cedb"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgrppi_1_1parallel__execution__tbb.html#a1cf84926d8770fdd828998872d76cedb">pipeline</a> (<a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; InputType &gt; &amp;input_queue, Transformer &amp;&amp;transform_op, <a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; OutputType &gt; &amp;output_queue) const </td></tr>
<tr class="memdesc:a1cf84926d8770fdd828998872d76cedb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_pipeline.html">Pipeline pattern</a> comming from another context that uses mpmc_queues as communication channels.  <a href="#a1cf84926d8770fdd828998872d76cedb">More...</a><br /></td></tr>
<tr class="separator:a1cf84926d8770fdd828998872d76cedb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>TBB parallel execution policy. </p>
<p>This policy uses Intel Threading Building Blocks as implementation back end. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2bafc840996ea0edf704ee9a4ec11fdb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">grppi::parallel_execution_tbb::parallel_execution_tbb </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default construct a TBB parallel execution policy. </p>
<p>Creates a TBB parallel execution object.</p>
<p>The concurrency degree is determined by the platform. </p>

</div>
</div>
<a class="anchor" id="a42cd24e4cdc65f841211797f3bc7301c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">grppi::parallel_execution_tbb::parallel_execution_tbb </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>concurrency_degree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>order</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a TBB parallel execution policy. </p>
<p>Creates a TBB parallel execution object selecting the concurrency degree.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">concurrency_degree</td><td>Number of threads used for parallel algorithms. </td></tr>
    <tr><td class="paramname">order</td><td>Whether ordered executions is enabled or disabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4658679d34e759c78eed069d60aa8f8b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int grppi::parallel_execution_tbb::concurrency_degree </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get number of grppi trheads. </p>

</div>
</div>
<a class="anchor" id="a3b7d56625a7adbcade53a2f4e6052cda"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::disable_ordering </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Disable ordering. </p>

</div>
</div>
<a class="anchor" id="abdf53132d36c84d3744826c84cc5a454"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Input , typename Divider , typename Solver , typename Combiner &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">auto grppi::parallel_execution_tbb::divide_conquer </td>
          <td>(</td>
          <td class="paramtype">Input &amp;&amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Divider &amp;&amp;&#160;</td>
          <td class="paramname"><em>divide_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Solver &amp;&amp;&#160;</td>
          <td class="paramname"><em>solve_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Combiner &amp;&amp;&#160;</td>
          <td class="paramname"><em>combine_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_divide-conquer.html">Divide/conquer pattern</a>. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Input</td><td>Type used for the input problem. </td></tr>
    <tr><td class="paramname">Divider</td><td>Callable type for the divider operation. </td></tr>
    <tr><td class="paramname">Solver</td><td>Callable type for the solver operation. </td></tr>
    <tr><td class="paramname">Combiner</td><td>Callable type for the combiner operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ex</td><td>Sequential execution policy object. </td></tr>
    <tr><td class="paramname">input</td><td>Input problem to be solved. </td></tr>
    <tr><td class="paramname">divider_op</td><td>Divider operation. </td></tr>
    <tr><td class="paramname">solver_op</td><td>Solver operation. </td></tr>
    <tr><td class="paramname">combine_op</td><td>Combiner operation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aff612d68d6de326896b4b3b7f17275df"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Input , typename Divider , typename Predicate , typename Solver , typename Combiner &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">auto grppi::parallel_execution_tbb::divide_conquer </td>
          <td>(</td>
          <td class="paramtype">Input &amp;&amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Divider &amp;&amp;&#160;</td>
          <td class="paramname"><em>divide_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Predicate &amp;&amp;&#160;</td>
          <td class="paramname"><em>predicate_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Solver &amp;&amp;&#160;</td>
          <td class="paramname"><em>solve_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Combiner &amp;&amp;&#160;</td>
          <td class="paramname"><em>combine_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_divide-conquer.html">Divide/conquer pattern</a>. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Input</td><td>Type used for the input problem. </td></tr>
    <tr><td class="paramname">Divider</td><td>Callable type for the divider operation. </td></tr>
    <tr><td class="paramname">Predicate</td><td>Callable type for the stop condition predicate. </td></tr>
    <tr><td class="paramname">Solver</td><td>Callable type for the solver operation. </td></tr>
    <tr><td class="paramname">Combiner</td><td>Callable type for the combiner operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ex</td><td>Sequential execution policy object. </td></tr>
    <tr><td class="paramname">input</td><td>Input problem to be solved. </td></tr>
    <tr><td class="paramname">divider_op</td><td>Divider operation. </td></tr>
    <tr><td class="paramname">predicate_op</td><td>Predicate operation. </td></tr>
    <tr><td class="paramname">solver_op</td><td>Solver operation. </td></tr>
    <tr><td class="paramname">combine_op</td><td>Combiner operation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a584023faab673f9b7e17cec70a41372c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::enable_ordering </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable ordering. </p>

</div>
</div>
<a class="anchor" id="ac2e2457967b39b6514032a1f3684dfca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool grppi::parallel_execution_tbb::is_ordered </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is execution ordered. </p>

</div>
</div>
<a class="anchor" id="aa06e47a8d52617c761600c0e97db5055"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt;T&gt; grppi::parallel_execution_tbb::make_queue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Makes a communication queue for elements of type T. Constructs a queue using the attributes that can be set via <a class="el" href="classgrppi_1_1parallel__execution__tbb.html#af5306d4350ef41f22215375679f72ca6" title="Sets the attributes for the queues built through make_queue&lt;T&gt;() ">set_queue_attributes()</a>. The value is returned via move semantics. </p>

</div>
</div>
<a class="anchor" id="a218c2f8349d86349a2189be85fe0ff8a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... InputIterators, typename OutputIterator , typename Transformer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::map </td>
          <td>(</td>
          <td class="paramtype">std::tuple&lt; InputIterators... &gt;&#160;</td>
          <td class="paramname"><em>firsts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputIterator&#160;</td>
          <td class="paramname"><em>first_out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>sequence_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer&#160;</td>
          <td class="paramname"><em>transform_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Applies a trasnformation to multiple sequences leaving the result in another sequence using available TBB parallelism. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIterators</td><td>Iterator types for input sequences. </td></tr>
    <tr><td class="paramname">OutputIterator</td><td>Iterator type for the output sequence. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable object type for the transformation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">firsts</td><td>Tuple of iterators to input sequences. </td></tr>
    <tr><td class="paramname">first_out</td><td>Iterator to the output sequence. </td></tr>
    <tr><td class="paramname">sequence_size</td><td>Size of the input sequences. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformation callable object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section pre"><dt>Precondition</dt><dd>For every I iterators in the range <code>[get&lt;I&gt;(firsts), next(get&lt;I&gt;(firsts),sequence_size))</code> are valid. </dd>
<dd>
Iterators in the range <code>[first_out, next(first_out,sequence_size)]</code> are valid. </dd></dl>

</div>
</div>
<a class="anchor" id="a0b8825810902cd26927822dcff2aed49"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... InputIterators, typename Identity , typename Transformer , typename Combiner &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">auto grppi::parallel_execution_tbb::map_reduce </td>
          <td>(</td>
          <td class="paramtype">std::tuple&lt; InputIterators... &gt;&#160;</td>
          <td class="paramname"><em>firsts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>sequence_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Identity &amp;&amp;&#160;</td>
          <td class="paramname"><em>identity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer &amp;&amp;&#160;</td>
          <td class="paramname"><em>transform_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Combiner &amp;&amp;&#160;</td>
          <td class="paramname"><em>combine_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Applies a map/reduce operation to a sequence of data items. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIterator</td><td>Iterator type for the input sequence. </td></tr>
    <tr><td class="paramname">Identity</td><td>Type for the identity value. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable object type for the transformation. </td></tr>
    <tr><td class="paramname">Combiner</td><td>Callable object type for the combination. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">first</td><td>Iterator to the first element of the sequence. </td></tr>
    <tr><td class="paramname">sequence_size</td><td>Size of the input sequence. </td></tr>
    <tr><td class="paramname">identity</td><td>Identity value for the reduction. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformation callable object. </td></tr>
    <tr><td class="paramname">combine_op</td><td>Combination callable object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section pre"><dt>Precondition</dt><dd>Iterators in the range <code>[first,last)</code> are valid. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The map/reduce result. </dd></dl>

</div>
</div>
<a class="anchor" id="a5bc27958f8f59e282f991704e308c8aa"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Generator , typename... Transformers&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::pipeline </td>
          <td>(</td>
          <td class="paramtype">Generator &amp;&amp;&#160;</td>
          <td class="paramname"><em>generate_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformers &amp;&amp;...&#160;</td>
          <td class="paramname"><em>transform_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_pipeline.html">Pipeline pattern</a>. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Generator</td><td>Callable type for the generator operation. </td></tr>
    <tr><td class="paramname">Transformers</td><td>Callable types for the transformers in the pipeline. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">generate_op</td><td>Generator operation. </td></tr>
    <tr><td class="paramname">transform_ops</td><td>Transformer operations. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1cf84926d8770fdd828998872d76cedb"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputType , typename Transformer , typename OutputType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::pipeline </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; InputType &gt; &amp;&#160;</td>
          <td class="paramname"><em>input_queue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer &amp;&amp;&#160;</td>
          <td class="paramname"><em>transform_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; OutputType &gt; &amp;&#160;</td>
          <td class="paramname"><em>output_queue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_pipeline.html">Pipeline pattern</a> comming from another context that uses mpmc_queues as communication channels. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputType</td><td>Type of the input stream. </td></tr>
    <tr><td class="paramname">Transformers</td><td>Callable types for the transformers in the pipeline. </td></tr>
    <tr><td class="paramname">InputType</td><td>Type of the output stream. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">input_queue</td><td>Input stream communicator. </td></tr>
    <tr><td class="paramname">transform_ops</td><td>Transformer operations. </td></tr>
    <tr><td class="paramname">output_queue</td><td>Input stream communicator. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ada3a6ccfbc59ff6d0b8c8ac1482d2bdc"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputIterator , typename Identity , typename Combiner &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">auto grppi::parallel_execution_tbb::reduce </td>
          <td>(</td>
          <td class="paramtype">InputIterator&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>sequence_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Identity &amp;&amp;&#160;</td>
          <td class="paramname"><em>identity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Combiner &amp;&amp;&#160;</td>
          <td class="paramname"><em>combine_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Applies a reduction to a sequence of data items. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIterator</td><td>Iterator type for the input sequence. </td></tr>
    <tr><td class="paramname">Identity</td><td>Type for the identity value. </td></tr>
    <tr><td class="paramname">Combiner</td><td>Callable object type for the combination. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">first</td><td>Iterator to the first element of the sequence. </td></tr>
    <tr><td class="paramname">sequence_size</td><td>Size of the input sequence. </td></tr>
    <tr><td class="paramname">last</td><td>Iterator to one past the end of the sequence. </td></tr>
    <tr><td class="paramname">identity</td><td>Identity value for the reduction. </td></tr>
    <tr><td class="paramname">combine_op</td><td>Combination callable object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section pre"><dt>Precondition</dt><dd>Iterators in the range <code>[first,last)</code> are valid. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The reduction result. </dd></dl>

</div>
</div>
<a class="anchor" id="a80af61d77c7b697d90c17c203ace3ec1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::set_concurrency_degree </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>degree</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set number of grppi threads. </p>

</div>
</div>
<a class="anchor" id="af5306d4350ef41f22215375679f72ca6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::set_queue_attributes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacegrppi.html#aa0514650a765d4853343655e7588662b">queue_mode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>tokens</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the attributes for the queues built through <a class="el" href="classgrppi_1_1parallel__execution__tbb.html#aa06e47a8d52617c761600c0e97db5055" title="Makes a communication queue for elements of type T. Constructs a queue using the attributes that can ...">make_queue&lt;T&gt;()</a> </p>

</div>
</div>
<a class="anchor" id="afc48fec10970cf43ccf81cc7a232d577"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... InputIterators, typename OutputIterator , typename StencilTransformer , typename Neighbourhood &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void grppi::parallel_execution_tbb::stencil </td>
          <td>(</td>
          <td class="paramtype">std::tuple&lt; InputIterators... &gt;&#160;</td>
          <td class="paramname"><em>firsts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputIterator&#160;</td>
          <td class="paramname"><em>first_out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>sequence_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">StencilTransformer &amp;&amp;&#160;</td>
          <td class="paramname"><em>transform_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Neighbourhood &amp;&amp;&#160;</td>
          <td class="paramname"><em>neighbour_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Applies a trasnformation to multiple sequences leaving the result in another sequence. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIterators</td><td>Iterator types for input sequences. </td></tr>
    <tr><td class="paramname">OutputIterator</td><td>Iterator type for the output sequence. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable object type for the transformation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">firsts</td><td>Tuple of iterators to input sequences. </td></tr>
    <tr><td class="paramname">first_out</td><td>Iterator to the output sequence. </td></tr>
    <tr><td class="paramname">sequence_size</td><td>Size of the input sequences. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformation callable object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section pre"><dt>Precondition</dt><dd>For every I iterators in the range <code>[get&lt;I&gt;(firsts), next(get&lt;I&gt;(firsts),sequence_size))</code> are valid. </dd>
<dd>
Iterators in the range <code>[first_out, next(first_out,sequence_size)]</code> are valid. </dd></dl>

</div>
</div>
<a class="anchor" id="a8f404ff1f3f511dbbd3b9d92a835c63b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int grppi::parallel_execution_tbb::tokens </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get num of tokens. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="parallel__execution__tbb_8h_source.html">parallel_execution_tbb.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
